package com.example.dml.observer_pattern.event;

/**
 * @Authors：gaoyang
 * @CreateTime：2021/11/2 23:46
 * @Description：todo
 */
public class MouseClickCallback {

    public void onClick(Event event){
        System.out.println("触发鼠标单击事件");
    }

    public void onDoubleclick(Event event){
        System.out.println("触发鼠标双击事件");
    }

    public void onUp(Event event){
        System.out.println("触发鼠标弹起事件");
    }

    public void onDown(Event event){
        System.out.println("触发鼠标按下事件");
    }

    public void onMove(Event event){
        System.out.println("触发鼠标移动事件");
    }

    public void onWheel(Event event){
        System.out.println("触发鼠标滑动事件");
    }

    public void onOver(Event event){
        System.out.println("触发鼠标悬停事件");
    }
    public void onFocus(Event event){
        System.out.println("触发鼠标聚焦事件");
    }

    public void onBlur(Event event){
        System.out.println("触发鼠标失焦事件");
    }
}
